package com.mohansever.dao;

import java.util.List;

import com.mohansever.pojo.User;
import com.mohansever.util.PageData;
import com.mohansever.util.PageQUery;

public interface UserDao {
	/**
	 * 后台
	 */
	public User loginByUserIdAndUserPwd(PageData pd);
	public User selectUserByUserId(String userId);
	public void updateUserStatus(User user);
	public void deleteByUserId(String userId);
	public Integer selectRecordSizeByRole(PageQUery pQUery);
	public List<PageData> selectPageList(PageQUery pQUery);
	
	/**
	 * 微信
	 */
	public PageData selectUserByOpenId(String openId);
	public Integer selectUserIdIsExist(String userId);
	public void insertWxUser(PageData pd);
}
